package cn.stylefeng.guns.modular.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 产品价格表
 * </p>
 *
 * @author 小飞
 * @since 2019-06-27
 */
@TableName("price")
public class Price implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品编码Id
     */
    @TableField("product_order_id")
    private Long productOrderId;

    /**
     * 经销商等级
     */
    @TableField("level_id")
    private Integer levelId;

    /**
     * 产品价格
     */
    @TableField("product_price")
    private BigDecimal productPrice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getProductOrderId() {
        return productOrderId;
    }

    public void setProductOrderId(Long productOrderId) {
        this.productOrderId = productOrderId;
    }

    public Integer getLevelId() {
        return levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    @Override
    public String toString() {
        return "Price{" +
        "id=" + id +
        ", productOrderId=" + productOrderId +
        ", levelId=" + levelId +
        ", productPrice=" + productPrice +
        "}";
    }
}
